import { createRouter, createWebHistory } from 'vue-router'
import Page1 from "../views/Page1.vue"
import Page2 from "../views/Page2.vue"
import Page3 from "../views/Page3.vue"
import Page0 from "../views/PageRegister.vue"

const routes=[
    {path: "/", name:"Page1", component: Page1},
    {path: "/0", name:"Page0", component: Page0},
    {path: "/2", name:"Page2", component: Page2},
    {path: "/3", name:"Page3", component: Page3}
]

const router= createRouter({
    history: createWebHistory(),
    routes
})

export default router